<script setup>

    //基本数据
    let name = "王语嫣"
    let age = 18

    //对象数据
    let car = {
        brand: "奔驰",
        price: 777
    }

</script>

<template>
        <p>姓名:{{name}}</p>
        <p>年龄:{{age}}</p>
        <p>汽车品牌:{{car.brand}}</p>
        <p>汽车价格:{{car.price}}</p>
</template>

<style scoped>

</style>